package com.li.factorypattern.AbstractFactory;

/**
 * @author lirenchun
 * 满足开闭原则-拓展性较好
 */
public class Test {
    public static void main(String[] args) {
        Provider studentFactory = new TeacherFactory();
        studentFactory.produce().sleep();
    }
}
